@isTest
private class ContactBirthdaySmsMessageTest {
    static String CRON_EXP = '0 0 8 1-31 1-12 ? 2017-2099';
    static testMethod void testSmsSend() {

        smsApi__c setting = TestUtils.createSmsApic();
        insert setting;
        //执行测试计划
        Contact con1 = TestUtils.createContact();
    	con1.MobilePhone='13929512501';
        con1.LastName = '刘三少';
        con1.Birthdate = Date.valueOf('1975-01-23');

        Contact con2 = TestUtils.createContact();
    	con2.MobilePhone='18122266563';
        con2.LastName = '刘文俊';
        con2.Birthdate = Date.valueOf('1975-01-22');

        insert (new List<Contact>{con1,con2});

        Test.startTest();
		String jobId = System.schedule('ContactBirthdaySmsMessage',CRON_EXP,new ContactBirthdaySmsMessage());
		Test.stopTest();
    }
}